package dataserver.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Where;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 *@类:设备表
 */
@Entity
@Table(name = "scene_device")
@Data
@AllArgsConstructor //生成全参数构造函数
@NoArgsConstructor//生成无参构造函数
@Where(clause = "del_flag=0")
public class SceneDevice extends Base {

   /**
    * 站场id
    */
   @Column(name = "station_id")
   private String stationId;

   /**
    * 站场名称
    */
   @Column(name = "station_name")
   private String stationName;

   /**
    * UE场景中名称
    */
   @Column(name = "unreal_name")
   private String unrealName;
   /**
    * 模型名称
    */
   @Column(name = "view_name")
   private String viewName;
   /**
    * 系统模型编号
    */
   @Column(name = "device_code")
   private String deviceCode;
   /**
    * 系统模型名称
    */
   @Column(name = "device_name")
   private String deviceName;

    /**
     * 经度
     */
    @Column(name = "x")
    private Double x;
    /**
     * 纬度
     */
    @Column(name = "y")
    private Double y;
    /**
     * 高度
     */
    @Column(name = "z")
    private Float z;

}